package com.woniu.dao;

import com.woniu.entity.TTeachProgram;
import com.woniu.entity.TTeachProgramExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TTeachProgramDao {
    long countByExample(TTeachProgramExample example);

    int deleteByExample(TTeachProgramExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TTeachProgram record);

    int insertSelective(TTeachProgram record);

    List<TTeachProgram> selectByExample(TTeachProgramExample example);

    TTeachProgram selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TTeachProgram record, @Param("example") TTeachProgramExample example);

    int updateByExample(@Param("record") TTeachProgram record, @Param("example") TTeachProgramExample example);

    int updateByPrimaryKeySelective(TTeachProgram record);

    int updateByPrimaryKey(TTeachProgram record);
}